package com.zqwh.xtool.profile;

import com.zqwh.xtool.enums.LockType;
import com.zqwh.xtool.enums.NFCType;
import com.zqwh.xtool.enums.TitleType;

public abstract class BaseProfile {
    protected boolean USE_VEIN;

    protected boolean USE_NFC;

    protected boolean USE_FACE;

    protected boolean USE_FINGER_PRINT;


    protected int    FINGER_PRINT_DETECT_IO = 2;
    /**
     * 电子锁相关配置
     */
    protected LockType LOCK_TYPE;

    protected int    LOCK_OPEN_LEVEL = 1;

    protected int    LOCK_CLOSE_LEVEL = 0;

    protected int    LOCK_GPIO_LOCK_CTL = 3;

    protected int    LOCK_GPIO_DOOR_DETECT = 1;

    protected String LOCK_ROD_UART_PATH = "/dev/ttyS3";

    protected int    LOCK_ROD_UART_BAUDRATE = 9600;

    protected String LOCK_RELAY_UART_PATH = "/dev/ttyXRM1";

    protected int    LOCK_RELAY_UART_BAUDRATE = 115200;

    /**
     * NFC相关配置
     */
    protected NFCType NFC_TYPE;

    protected String NFC_UART_PATH = "/dev/ttyS3";

    protected int    NFC_BAUD_RATE = 9600;

    /**
     * RFID相关配置
     */
    protected String RFID_TYPE;

    protected String RFID_UART_PATH;

    protected int    RFID_BAUD_RATE;

    protected int    RFID_ANT_NUMBER;

    protected int    RFID_MAX_ANT_NUMBER;

    protected int    RFID_INVENTORY_TIME = 6 * 1000;

    protected int    RFID_POWER = 30;


    /**
     * 其他配置
     */
    protected int POWER_GPIO_CTL = 86;

    protected boolean SHOW_POSITION;

    protected int MENU_ID;

    protected boolean KEEP_SCREEN_ON;

    protected int LOGO_ID;

    protected TitleType TITLE_TYPE = TitleType.WELCOME;

    protected BaseProfile() {
    }

    public boolean isUSE_VEIN() {
        return USE_VEIN;
    }

    public void setUSE_VEIN(boolean USE_VEIN) {
        this.USE_VEIN = USE_VEIN;
    }

    public boolean isUSE_NFC() {
        return USE_NFC;
    }

    public void setUSE_NFC(boolean USE_NFC) {
        this.USE_NFC = USE_NFC;
    }

    public boolean isUSE_FACE() {
        return USE_FACE;
    }

    public void setUSE_FACE(boolean USE_FACE) {
        this.USE_FACE = USE_FACE;
    }

    public boolean isUSE_FINGER_PRINT() {
        return USE_FINGER_PRINT;
    }

    public void setUSE_FINGER_PRINT(boolean USE_FINGER_PRINT) {
        this.USE_FINGER_PRINT = USE_FINGER_PRINT;
    }

    public int getFINGER_PRINT_DETECT_IO() {
        return FINGER_PRINT_DETECT_IO;
    }

    public void setFINGER_PRINT_DETECT_IO(int FINGER_PRINT_DETECT_IO) {
        this.FINGER_PRINT_DETECT_IO = FINGER_PRINT_DETECT_IO;
    }

    public LockType getLOCK_TYPE() {
        return LOCK_TYPE;
    }

    public void setLOCK_TYPE(LockType LOCK_TYPE) {
        this.LOCK_TYPE = LOCK_TYPE;
    }

    public int getLOCK_OPEN_LEVEL() {
        return LOCK_OPEN_LEVEL;
    }

    public void setLOCK_OPEN_LEVEL(int LOCK_OPEN_LEVEL) {
        this.LOCK_OPEN_LEVEL = LOCK_OPEN_LEVEL;
    }

    public int getLOCK_CLOSE_LEVEL() {
        return LOCK_CLOSE_LEVEL;
    }

    public void setLOCK_CLOSE_LEVEL(int LOCK_CLOSE_LEVEL) {
        this.LOCK_CLOSE_LEVEL = LOCK_CLOSE_LEVEL;
    }

    public int getLOCK_GPIO_LOCK_CTL() {
        return LOCK_GPIO_LOCK_CTL;
    }

    public void setLOCK_GPIO_LOCK_CTL(int LOCK_GPIO_LOCK_CTL) {
        this.LOCK_GPIO_LOCK_CTL = LOCK_GPIO_LOCK_CTL;
    }

    public int getLOCK_GPIO_DOOR_DETECT() {
        return LOCK_GPIO_DOOR_DETECT;
    }

    public void setLOCK_GPIO_DOOR_DETECT(int LOCK_GPIO_DOOR_DETECT) {
        this.LOCK_GPIO_DOOR_DETECT = LOCK_GPIO_DOOR_DETECT;
    }

    public String getLOCK_ROD_UART_PATH() {
        return LOCK_ROD_UART_PATH;
    }

    public void setLOCK_ROD_UART_PATH(String LOCK_ROD_UART_PATH) {
        this.LOCK_ROD_UART_PATH = LOCK_ROD_UART_PATH;
    }

    public int getLOCK_ROD_UART_BAUDRATE() {
        return LOCK_ROD_UART_BAUDRATE;
    }

    public void setLOCK_ROD_UART_BAUDRATE(int LOCK_ROD_UART_BAUDRATE) {
        this.LOCK_ROD_UART_BAUDRATE = LOCK_ROD_UART_BAUDRATE;
    }

    public String getLOCK_RELAY_UART_PATH() {
        return LOCK_RELAY_UART_PATH;
    }

    public void setLOCK_RELAY_UART_PATH(String LOCK_RELAY_UART_PATH) {
        this.LOCK_RELAY_UART_PATH = LOCK_RELAY_UART_PATH;
    }

    public int getLOCK_RELAY_UART_BAUDRATE() {
        return LOCK_RELAY_UART_BAUDRATE;
    }

    public void setLOCK_RELAY_UART_BAUDRATE(int LOCK_RELAY_UART_BAUDRATE) {
        this.LOCK_RELAY_UART_BAUDRATE = LOCK_RELAY_UART_BAUDRATE;
    }

    public NFCType getNFC_TYPE() {
        return NFC_TYPE;
    }

    public void setNFC_TYPE(NFCType NFC_TYPE) {
        this.NFC_TYPE = NFC_TYPE;
    }

    public String getNFC_UART_PATH() {
        return NFC_UART_PATH;
    }

    public void setNFC_UART_PATH(String NFC_UART_PATH) {
        this.NFC_UART_PATH = NFC_UART_PATH;
    }

    public int getNFC_BAUD_RATE() {
        return NFC_BAUD_RATE;
    }

    public void setNFC_BAUD_RATE(int NFC_BAUD_RATE) {
        this.NFC_BAUD_RATE = NFC_BAUD_RATE;
    }

    public String getRFID_TYPE() {
        return RFID_TYPE;
    }

    public void setRFID_TYPE(String RFID_TYPE) {
        this.RFID_TYPE = RFID_TYPE;
    }

    public String getRFID_UART_PATH() {
        return RFID_UART_PATH;
    }

    public void setRFID_UART_PATH(String RFID_UART_PATH) {
        this.RFID_UART_PATH = RFID_UART_PATH;
    }

    public int getRFID_BAUD_RATE() {
        return RFID_BAUD_RATE;
    }

    public void setRFID_BAUD_RATE(int RFID_BAUD_RATE) {
        this.RFID_BAUD_RATE = RFID_BAUD_RATE;
    }

    public int getRFID_ANT_NUMBER() {
        return RFID_ANT_NUMBER;
    }

    public void setRFID_ANT_NUMBER(int RFID_ANT_NUMBER) {
        this.RFID_ANT_NUMBER = RFID_ANT_NUMBER;
    }

    public int getRFID_MAX_ANT_NUMBER() {
        return RFID_MAX_ANT_NUMBER;
    }

    public void setRFID_MAX_ANT_NUMBER(int RFID_MAX_ANT_NUMBER) {
        this.RFID_MAX_ANT_NUMBER = RFID_MAX_ANT_NUMBER;
    }

    public int getRFID_INVENTORY_TIME() {
        return RFID_INVENTORY_TIME;
    }

    public void setRFID_INVENTORY_TIME(int RFID_INVENTORY_TIME) {
        this.RFID_INVENTORY_TIME = RFID_INVENTORY_TIME;
    }

    public int getRFID_POWER() {
        return RFID_POWER;
    }

    public void setRFID_POWER(int RFID_POWER) {
        this.RFID_POWER = RFID_POWER;
    }

    public boolean isSHOW_POSITION() {
        return SHOW_POSITION;
    }

    public void setSHOW_POSITION(boolean SHOW_POSITION) {
        this.SHOW_POSITION = SHOW_POSITION;
    }

    public int getMENU_ID() {
        return MENU_ID;
    }

    public void setMENU_ID(int MENU_ID) {
        this.MENU_ID = MENU_ID;
    }

    public boolean isKEEP_SCREEN_ON() {
        return KEEP_SCREEN_ON;
    }

    public void setKEEP_SCREEN_ON(boolean KEEP_SCREEN_ON) {
        this.KEEP_SCREEN_ON = KEEP_SCREEN_ON;
    }

    public int getLOGO_ID() {
        return LOGO_ID;
    }

    public void setLOGO_ID(int LOGO_ID) {
        this.LOGO_ID = LOGO_ID;
    }

    public TitleType getTITLE_TYPE() {
        return TITLE_TYPE;
    }

    public void setTITLE_TYPE(TitleType TITLE_TYPE) {
        this.TITLE_TYPE = TITLE_TYPE;
    }

    public int getPOWER_GPIO_CTL() {
        return POWER_GPIO_CTL;
    }

    public void setPOWER_GPIO_CTL(int POWER_GPIO_CTL) {
        this.POWER_GPIO_CTL = POWER_GPIO_CTL;
    }
}
